Free hint.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 15 Jul 2005 20:25:40 +0000 (20:25 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 15 Jul 2005 20:25:40 +0000 (20:25 +0000)
gpsbabel/waypt.c

index d51a73ee5754e91182e5509aff39faee67c74bad..44e9e9ad3e2c8f83950bfabe21cf7818b960a4d3 100644 (file)
@@ -291,6 +291,9 @@ waypt_free( waypoint *wpt )
        if (wpt->gc_data.placer) {
                xfree(wpt->gc_data.placer);
        }
+       if (wpt->gc_data.hint) {
+               xfree (wpt->gc_data.hint);
+       } 
        if ( wpt->an1_extras ) {
                (*(wpt->an1_extras->destroy))((void *)wpt->an1_extras );
                xfree( wpt->an1_extras );